package com.jindy.module.outboundorder.task;

import com.jindy.module.order.domain.Order;
import com.jindy.module.outboundorder.domain.OutboundOrder;
import com.jindy.module.outboundorder.service.DepositWarningService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 押金预警定时任务
 *
 * @author zhaoxi
 * @date 2022-11-19
 */
@Component("warningTask")
public class WarningTask {

    @Autowired
    private DepositWarningService depositWarningService;

    public void selectWarningOrderNoList() {
        System.out.println("warningTask执行depositWarningService=====");
        Order order = new Order();
        depositWarningService.selectWarningOrderList(order);
    }
}
